package com.shopping.huaju.commodity.dao;

import com.shopping.huaju.commodity.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品分类表
 * 
 * @author tofu
 * @email tofu@qq.com
 * @date 2023-11-01 10:37:04
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

    void updateCategory(@Param("categoryId") Long categoryId, @Param("name") String name);
}
